-- GENERATED SPELL FOR [Brann Bronzebeard] --


function spell0_28070(pUnit, Event) --@Stealth,Self--
pUnit:FullCastSpellOnTarget(58506,pUnit)
pUnit:RegisterEvent('Sorts_28070', 691, 1)
end

function Sorts_28070(pUnit, Event)
local choix_sorts_28070 = math.random(0, 0)
if choix_sorts_28070 == 0 then
pUnit:RegisterEvent('spell0_28070', 1, 1)
end
end

function mob28070_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28070', math.random(1500, 3000), 1)
end

function mob28070_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28070_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28070_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28070, 1, 'mob28070_Action')
RegisterUnitEvent(28070, 2, 'mob28070_Leave')
RegisterUnitEvent(28070, 3, 'mob28070_Kill')
RegisterUnitEvent(28070, 4, 'mob28070_Die')
